package com.example.novelstory.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

@Data
public class Novel_chapter {
    @ApiModelProperty("用户ID")
    private int id;
    @ApiModelProperty("小说id")
    private int novel_id;
    @ApiModelProperty("源名称")
    private String source;
    @ApiModelProperty("内容")
    private String chapter;
    @ApiModelProperty("状态")
    private byte status;
    @ApiModelProperty("来源")
    private String reurl;
    @ApiModelProperty("采集id")
    private int collect_id;
    @JsonFormat(pattern="yyyy-MM-dd hh:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @ApiModelProperty("运行时间")
    private Date run_time;
}
